package com.software.work;


import lombok.Data;

import javax.persistence.*;
import java.util.HashSet;
import java.util.Set;

@Data
public class Major {

    private String majorId;// 专业ID
    private String majorName;//专业名称
    private String majorDetail;//专业介绍

    private Set<Student> students = new HashSet<>();


}
